package levels
{
	import enemies.*;
	import interactions.*;
	import items.*;
	import treasures.*;
	import org.flixel.*;
	
	import states.GameState;	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_5 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(MazeData.level_5);
			
			Player.spawnAt(14, 17);
			
			Tracker.lives = 1;
			Tracker.mapScore = 1000;
			Tracker.minScore = 4;
			
			addEntity(new SpeedBooster(18, 13));
			addEntity(new Slow(10, 13));
			
			addEntity(new Trapdoor(14, 13));
			addEntity(new Trapdoor(14, 10));
			
			addEntity(new LootBag(2, 9));
			addEntity(new LootBag(10, 7));
			addEntity(new LootBag(8, 2));
			addEntity(new LootBag(12, 2));
			addEntity(new LootBag(16, 2));
			addEntity(new LootBag(20, 2));
			
			addEntity(new Brute(1, 20));
			addEntity(new Robber(27, 20));
			addEntity(new Robber(25, 20));
			addEntity(new Robber(23, 20));

			gameStart();
		}
	}
}